Part Number Hot Search : 
MTC20 SMF15 1SMB14A P6KE18 HC139 20113 2SC2062S 10179
Product Description
Full Text Search
 

To Download KXTIA-1006 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 1 of 63 product description the kxtia is a tri - axis +/ - 2g, +/ - 4g or +/ - 8g silicon micromachined accelerometer with integrated orientation, tap/double tap, and activity detecting algorithms. the sense element is fabricated using kionixs proprietary plasma micromachining process technology. acceleration sensing is based on the principle of a differ ential capacitance arising from acceleration - induced motion of the sense element, which further utilizes common mode cancellation to decrease errors from process variation, temperature, and environmental stress. the sense element is hermetically sealed at the wafer level by bonding a second silicon lid wafer to the device using a glass frit. a separate asic device packaged with the sense element provides signal conditioning, and intelligent user - programmable application algorithms. the accelerometer is d elivered in a 3 x 3 x 0.9 mm lga plastic package operating from a 1.8 C 3.6v dc supply. voltage regulators are used to maintain constant internal operating voltages over the range of input supply voltages. this results in stable operating characteristics over the range of input supply voltages and virtually undetectable ratiometric error. the spi digital protocol is used to communicate with the chip to configure and check for updates to the orientation, directional tap tm detection and activity monitoring algorithms.
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 2 of 63 functional diagram x sensor vdd io vdd gn d y sensor z sensor 8 6 10 spi digital engine charge amp 5 1 4 a / d 9 7 digital filter ncs sdo sclk sdi in t temp sensor
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 3 of 63 product specifications table 1. mechanical (specifications are for operation at 2.6v and t = 25c unless stated otherwise) parameters units min typical max operating temperature range o c - 40 - 85 zero - g offset mg - 25 125 zero - g offset variation from rt over temp. mg/ o c 0.7 (xy) 0.4 (z) sensitivity (12 - bit) 1 gsel1=0, gsel 0 =0 ( 2g) counts/g 988 1024 1060 gsel1=0, gsel0=1 ( 4g) 494 512 530 gsel1=1, gsel0=0 ( 8g) 247 256 265 sensitivity (8 - bit) 1 gsel1=0, gsel 0 =0 ( 2g) counts/g 61 64 67 gsel1=0, gsel0=1 ( 4g) 30 32 3 4 gsel1=1, gsel0=0 ( 8g) 1 5 16 1 7 sensitivity variation from rt over temp. %/ o c 0.01 (xy) 0.03 (z) self test output change on activation g 0.7 (xy) 0.5 (z) mechanical resonance ( - 3db) 2 hz 3500 (xy) 1800 (z) non - linearity % of fs 0.6 cross axis sensitivity % 2 notes: 1. resolution and acceleration ranges are user selectable via spi. 2. resonance as defined by the dampened mechanical sensor.
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 4 of 63 table 2. electrical (specifications are for operation at 2.6v and t = 25c unless stated otherwise) parameters units min typical max supply voltage (v dd ) operating v 1.71 2.6 3.6 i/o pads supply voltage (v io ) v 1.7 v dd current consumption all on (res = 1) ? a 325 directional tap? (r es = 0 , odr = 400hz ) 165 low power (res = 0, odr 25hz) 100 standby 10 output low voltage v - - 0.2 * v io output high voltage v 0.8 * v io - - input low voltage v - - 0.2 * v io input high voltage v 0.8 * v io - - input pull - down current ? a 0 start up time 1 res = 0 ms 0.050 res = 1, odr = 12.5hz 81 res = 1, odr = 25 hz 41 res = 1, odr = 50hz 21 res = 1, odr = 100hz 11 res = 1, odr = 200hz 6 res = 1, odr = 400hz 4 res = 1, odr = 800hz 2.5 power up time 2 ms 10 spi communication rate mhz 20 output data rate (odr) 3 hz 12.5 50 800 bandwidth ( - 3db) 4 res = 0 khz 1.59 res = 1 hz odr/2 notes: 1. start up time is from pc1 set to valid outputs. 2. power up time is from vdd valid to device boot completion. 3. user selectable through spi. 4. user selectable and dependant on odr and res.
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 5 of 63 table 3 . environmental parameters units min typical max supply voltage (v dd ) absolute limits v - 0.5 - 3.63 operating temperature range o c - 40 - 85 storage temperature range o c - 55 - 150 mech. shock (powered and unpowered) g - - 5000 for 0.5ms 10000 for 0.2ms esd hbm v - - 2000 caution: esd sensitive and mechanical shock sensitive component, improper handling can cause permanent damage to the device. this product conforms to directive 2002/95/ec of the european parliament and of the council of the european union (rohs). specifically, this product does not contain lead, mercury, cadmium, hexavalent chromium, poly brominated biphenyls (pbb), or polybrominated diphenyl ethers (pbde) above the maximum concentration values (mcv) by weight in any of its homogenous materials. homogenous materials are "of uniform composition throughout." this product is halogen - free per iec 61249 - 2 - 21. specifically, the materials used in this product contain a maximum total halogen content of 1500 ppm with less than 900 - ppm bromine and less than 900 - ppm chlorine. soldering soldering recommendations are available upon request or fr om www.kionix.com . hf
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 6 of 63 application schematic table 4 . kxtia pin descriptions pin name description 1 io vdd the power supply input for the digital communication bus 2 dnc reserved C do not connect 3 dnc reserved C do not connect 4 gnd ground 5 vdd the power supply input. decouple this pin to ground with a 0.1uf ceramic capacitor. 6 ncs spi enable 7 in t interrupt 8 sdo spi serial data output 9 sclk spi serial clock 10 sdi spi serial data input 1 2 3 4 5 6 7 8 9 10 vdd c 1 sclk sdi sdo kxtia int io vdd cs
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 7 of 63 test specifications ! special characteristics : these characteristics have been identified as being critical to the customer. every part is tested to verify its conformance to specification prior to shipment. table 5 . test specifications parameter specification test conditions zero - g offset @ rt 0 +/ - 128 counts 25c, vdd = 2.6 v sensitivity @ rt 1024 +/ - 35.8 counts/g 25c, vdd = 2.6 v
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 8 of 63 package dimensions and orientation 3 x 3 x 0.9 mm lga all dimensions and tolerances conform to asme y14.5m - 1994
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 9 of 63
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 10 of 63 orientation when device is accelerated in +x, +y or +z direction, the corresponding output will increase. static x/y/z output response versus orientation to earths surface (1g): gsel1=0, gsel0=0 ( 2g) position 1 2 3 4 5 6 diagram top bottom bottom top resolution (bits) 12 8 12 8 12 8 12 8 12 8 12 8 x (counts) 0 0 1024 64 0 0 - 1024 - 64 0 0 0 0 y (counts) 1024 64 0 0 - 1024 - 64 0 0 0 0 0 0 z (counts) 0 0 0 0 0 0 0 0 0 1024 64 - 1024 - 64 x - polarity 0 + 0 - 0 0 y - polarity + 0 - 0 0 0 z - polarity 0 0 0 0 + - (1g) earths surface pin 1 +x +y +z
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 11 of 63 static x/y/z output response versus orientation to earths surface (1g): gsel1=0, gsel0=1 ( 4g) position 1 2 3 4 5 6 diagram top bottom bottom top resolution (bits) 12 8 12 8 12 8 12 8 12 8 12 8 x (counts) 0 0 512 32 0 0 - 512 - 32 0 0 0 0 y (counts) 512 32 0 0 - 512 - 32 0 0 0 0 0 0 z (counts) 0 0 0 0 0 0 0 0 0 512 32 - 512 - 32 x - polarity 0 + 0 - 0 0 y - polarity + 0 - 0 0 0 z - polarity 0 0 0 0 + - (1g) earths surface static x/y/z output response versus orientation to earths surface (1g): gsel1=1, gsel0=0 ( 8g) position 1 2 3 4 5 6 diagram top bottom bottom top resolution (bits) 12 8 12 8 12 8 12 8 12 8 12 8 x (counts) 0 0 256 16 0 0 - 256 - 16 0 0 0 0 y (counts) 256 16 0 0 - 256 - 16 0 0 0 0 0 0 z (counts) 0 0 0 0 0 0 0 0 0 256 16 - 256 - 16 x - polarity 0 + 0 - 0 0 y - polarity + 0 - 0 0 0 z - polarity 0 0 0 0 + - (1g) earths surface
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 12 of 63 kxtia digital interface the kionix kxtia digital accelerometer has the ability to communicate on the spi digital serial interface bus. this flexibility allows for easy system integration by eliminating analog - to - digital converter requirements and by providing direct communication with system micro - controllers . the serial interface terms and desc ripti ons as indicated in table 6 below will be observed throughout this document. term description transmitter the device that transmits data to the bus. receiver the device that receives data from the bus. master the device that initiates a transfer, generates clock signals, and terminates a transfer. slave the device addressed by the master. table 6 . serial interface terminologies
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 13 of 63 4 - wire spi communications kxtia 4 - wire spi timing diagram table 7 . 4 - wire spi timing number description min max units t 1 clk pulse width: high 24 ns t 2 clk pulse width: low 26 ns t 3 ncs low to first clk rising edge 13 ns t 4 ncs low after the final clk rising edge 20 ns t 5 sdi valid to clk rising edge 13 ns t 6 clk rising edge to sdi invalid 11 ns t 7 clk falling edge to sdo valid t 2 n s t 8 clk falling edge to sdo valid bit<7> 19 25 ns t 9 clk rising edge to sdo valid bit<6:0> 19 23 ns t 10 clk rising edge to sdo invalid 15 ns notes 1. t 7 is only present during reads. 2. timings are for vdd of 1.8v to 3.6v with 1k ? pull - up resistor and maximum 20pf load capacitor on sdo. 3. falling edge timing of bit 7 applies only to first byte in auto - increment read and not subsequent bytes. for bit 7 max is t2/2. t sdo sdi ncs t 3 clk bit 7 bit 6 bit 1 5 bit 0 bit 7 5 bit 6 bit 1 5 bit 0 bit 7 5 bit 6 bit 1 5 bit 0 t 1 t 2 t 4 t 5 t 6 t 7 t 8 t 9 t 10
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 14 of 63 kxtia 3 - w ire spi timing diagram table 8 . 3 - wire spi timing number description min max units t 1 clk pulse width: high 15 - ns t 2 clk pulse width: low 15 - ns t 3 ncs low to first clk rising edge 8 - ns t 4 ncs low after the final clk falling edge 12 - ns t 5 sdi valid to clk rising edge 8 - ns t 6 clk rising edge to sdi input invalid 14 - ns t 7 clk extra clock cycle rising edge to sdi output becomes valid 15 - ns t 8 clk rising edge to sdi output becomes valid - 18 ns notes 1. t 7 and t 8 are only present during reads. 2. timings are for vdd of 1.8v to 3.6v with 1k ? pull - up resistor and maximum 20pf load capacitor on sdi. sdi ncs t 3 clk bit 7 bit 6 bit 1 5 bit 0 bit 7 bit 1 5 bit 0 t 1 t 2 t 7 t 4 t 5 t 6 t 8
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 15 of 63 4 - wire spi interface the kxtia also utilizes an integrated 4 - wire serial peripheral interface (spi) for digital communication. the spi interface is primarily used for synchronous serial communication between one master device and one or more slave devices. the master, typically a mic ro controller, provides the spi clock signal (sclk) and determines the state of chip select (ncs). the kxtia always operates as a slave device during standard master - slave spi operation. 4 - wire spi is a synchronous serial interface that uses two control and two data lines. with respect to the master, the serial clock output (sclk), the data output (sdi or mosi) and the data input (sdo or miso) are shared among the slave devices. the master generates an independent chip select (ncs) for each slave devic e that goes low at the start of transmission and goes back high at the end. the slave data output (sdo) line, remains in a high - impedance (hi - z) state when the device is not selected, so it does not interfere with any active devices. this allows multiple slave devices to share a master spi port as shown in figure 2 below. figure 2 kxtia 4 - wire spi connections kxtia kxtia mcu sdi serial clock miso ( data in ) mosi ( data out ) cs 0 master slave 0 slave 1 cs 1 sclk sclk sdi sdo sdo cs cs
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 16 of 63 read and write registers the registers embedded in the kxtia have 8 - bit addresses. upon power up, the master must write to the accelerometers control registers to set its operational mode. on the falling edge of ncs a 2 - byte command is , written to the appropriate control register. the first byte initiates the w rite to the appropriate register, and is followed by the user - defined, data byte. the msb (most significant bit) of the register address byte will indicate 0 when writing to the register and 1 when reading from the register. this operation occurs ov er 16 clock cycles. all commands are sent msb first, and the host must return ncs high for at least one clock cycle before the next data request. figure 3 below shows the timing diagram for carrying out an 8 - bit register write operation. figure 3 timing diagram for 8 - bit register write operation in order to read an 8 - bit register, an 8 - bit register address must be written to the accelerometer to initiate the read. the msb of this register address byte will indicate 0 when writing to the register and 1 when reading from the register. upon re ceiving the address, the accelerometer returns the 8 - bit data stored in the addressed register. this operation also occurs over 16 clock cycles. all returned data is sent msb first, and the host must return ncs high for at least one clock cycle before t he next data request. figure 4 shows the timing diagram for an 8 - bit register read operation. figure 4 timing diagram for 8 - bit register read operation a7 a6 a5 a4 a3 a2 a1 a0 sdo sdi clk cs d2 d1 write addr ess first 8 bits hi - z hi - z d7 d6 d5 second 8 bits last 8 bits hi - z d0 d7 d6 d5 d4 d3 d2 d1 d0 sdo sdi clk cs d2 d1 d5 d6 d7 a7 a6 a5 a4 a3 a2 a1 a0 read a d dress hi - z first 8 bits hi - z d2 d3 d4 d7 d0 d1 d6 d5 second 8 bits last 8 bits hi - z d0
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 17 of 63 3 - wire spi interface the kxtia also utilizes an integrated 3 - wir e serial peripheral interface (spi) for digital communication. 3 - wire spi is a synchronous serial interface that uses two control lines and one data line. with respect to the master, the serial clock output (sclk), the data output/input (sdi) are shared among the slave devices. the master generates an independent chip select (ncs) for each slave device that goes low at the start of transmission and goes back high at the end. this allows multiple slave devices to share a master spi port as shown in figur e 6 below. figure 5 kxtia 3 - wire spi connections read and write registers the registers embedded in the kxtia have 8 - bit addresses. upon power up, the master must write to the accelerometers control registers to set its operational mode. on the falling edge of ncs a 2 - byte command is , written to the appropriate control register. the first byte initiates the w rite to the appropriate register, and is followed by the user - defined, data byte. the msb (most significant bit) of the register address byte will indicate 0 when writing to the register and 1 when reading from the register. a read operation occurs over 17 clock cycles and a write operation occurs over 16 clock cycles. all commands are sent msb first, and the host must return ncs high for at least one clock cycle before the next address transmission. figure 6 below shows the timing diagram for carr ying out an 8 - bit register write operation. kxtia kxtia mcu sdi serial clock mosi / miso ( data out / in ) cs 0 master slave 0 slave 1 cs 1 sclk sclk sdi cs cs
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 18 of 63 figure 6 timing diagram for 8 - bit register write operation in order to read an 8 - bit register, an 8 - bit register address must be written to the accelerometer to initiate the read. the msb of this register address byte will indicate 0 when writing to the register and 1 when reading from the register. upon re ceiving the address, the accelerometer returns the 8 - bit data stored in the addressed register. for 3 - wire read operations, one extra clock cycle between the address byte and the data output byte is required. therefore, this operation occurs over 17 cloc k cycles. all returned data is sent msb first, and the host must return ncs high for at least one clock cycle before the next data request. figure 7 shows the timing diagram for an 8 - bit register read operation. figure 7 timing diagram for 8 - bit register read operation a7 a6 a5 a4 a3 a2 a1 a0 sdi sclk cs d7 d6 d5 d4 d3 d2 d1 d0 (msb) (msb) a7 a6 a5 a4 a3 a2 a1 a0 sdi sclk cs d7 d6 d5 d4 d3 d2 d1 d0 hi - z (msb) (msb)
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 19 of 63 kxtia embedded registers the kxtia has 44 embedded 8 - bit registers that are accessible by the user. this section contains the addresses for all embedded registers and also describes bit functions o f each register. table 9 below provides a listing of the accessible 8 - bit registers and their addresses. register name type spi write address spi read address read/write hex binary hex binary xout_hpf_l r 0x00 0000 0000 0x80 1000 0000 xout_hpf_h r 0x01 0000 0001 0x81 1000 0001 yout_hpf_l r 0x02 0000 0010 0x82 1000 0010 yout_hpf_h r 0x03 0000 0011 0x83 1000 0011 zout_hpf_l r 0x04 000 0 0100 0x84 100 0 0100 zout_hpf_h r 0x05 0000 0101 0x85 100 0 0101 xout_l r 0x06 0000 0110 0x86 1000 0110 xout_h r 0x07 0000 0111 0x87 1000 0111 yout_l r 0x08 0000 1000 0x88 1000 1000 yout_h r 0x09 0000 1001 0x89 1000 1001 zout_l r 0x0a 0000 1010 0x8a 100 0 1010 zout_h r 0x0b 0000 1011 0x8b 100 0 1011 dcst _resp r 0x0c 0000 1100 0x8c 1000 1100 not used - 0x0d 0000 1101 0x8d 1000 1101 not used - 0x0e 0000 1110 0x8e 1000 1110 who_am_i r 0x0f 0000 1111 0x8f 1000 1111 tilt_pos_cur r 0x10 0001 0000 0x90 1001 0000 tilt_pos_pre r 0x11 0001 0001 0x91 1001 0001 kionix reserved - 0x12 0001 0010 0x92 1001 0010 kionix reserved - 0x13 0001 0011 0x93 1001 0011 kionix reserved - 0x14 0001 0100 0x94 1001 0100 int_src_reg1 r 0x15 0001 0101 0x95 1001 0101 int_src_reg2 r 0x16 0001 0110 0x96 1001 0110 not used - 0x17 0001 0111 0x97 1001 0111 status_reg r 0x18 0001 1000 0x98 1001 1000 not used - 0x19 0001 1001 0x99 1001 1001 int_rel r 0x1a 0001 1010 0x9a 1001 1010 ctrl_reg1 * r/w 0x1b 0001 1011 0x9b 1001 1011 ctrl_reg2 * r/w 0x1c 0001 1100 0x9c 1001 1100
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 20 of 63 ctrl_reg3 * r/w 0x1d 0001 1101 0x9d 1001 1101 int_ctrl_reg1 * r/w 0x1e 0001 1110 0x9e 1001 1110 int_ctrl_reg2 * r/w 0x1f 0001 1111 0x9f 1001 1111 int_ctrl_reg3 * r/w 0x20 0010 0000 0xa0 1010 0000 data_ctrl_reg * r/w 0x21 0010 0001 0xa1 1010 0001 not used - 0x22 C 0x27 - 0xa2 C 0xa7 - tilt_timer * r/w 0x28 0010 1000 0xa8 1010 1000 wuf_timer * r/w 0x29 0010 1001 0xa9 1010 1001 not used - 0x2a 0010 1010 0xaa 1010 1010 tdt_timer * r/w 0x2b 0010 1011 0xab 1010 1011 tdt_h_thresh * r/w 0x2c 0010 1100 0xac 1010 1100 tdt_l_thresh * r/w 0x2d 0010 1101 0xad 1010 1101 tdt_tap_timer * r/w 0x2e 0010 1110 0xae 1010 1110 tdt_total_timer * r/w 0x2f 0010 1111 0xaf 1010 1111 tdt_latency_timer * r/w 0x30 0011 0000 0xb0 1011 0000 tdt_window_timer * r/w 0x31 0011 0001 0xb1 1011 0001 buf_ctrl1* r/w 0x32 0011 0010 0xb2 1011 0010 buf_ctrl2* r/w 0x33 0011 0011 0xb3 1011 0011 buf_status_reg1 r 0x34 0011 0100 0xb4 1011 0100 buf_status_reg2 r 0x35 0011 0101 0xb5 1011 0101 buf_clear w 0x36 0011 0110 0xb6 1011 0110 reserved - 0x37 C 0x3 9 - 0xb7 - 0xb9 - self_test r/w 0x3a 0011 1010 0xba 1011 1010 reserved - 0x3b C 0x59 - 0xbb C 0xd9 - wuf_thresh * r/w 0x5a 0101 1010 0xda 1101 1010 reserved - 0x5b 0101 1011 0xdb 1101 1011 tilt_angle * r/w 0x5c 0101 1100 0xdc 1101 1100 reserved - 0x5d C 0x5e - 0xdd C 0xde - hyst_set * r/w 0x6 f 0110 1111 0xef 1110 1111 buf_read r 0x7 f 01 11 1111 0xff 1111 1111 * note: when changing the contents of these registers, the pc1 bit in ctrl_reg1 must first be set to 0. table 9 . kxtia register map
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 21 of 63 kxtia register descriptions accelerometer outputs these registers contain up to 12 - bits of valid acceleration data for each axis depending on the setting of the res bit in ctrl_reg1, where the acceleration outputs are represented in 12 - bit valid data when res = 1 and 8 - bit valid data when res = 0. the data is updated every user - defined odr period, is protected from overwrite during each read, and can be converted from digital counts to acceleration (g) per figure 1 below. the register acceleration output binary data is represented in n - bit 2s complement format. for example, if n = 12 bits, then the counts range is from - 2048 to 2047, and if n = 8 bits, then the counts range is from - 128 to 127. 12 - bit register data (2s complement) equivalent counts in decimal range = +/ - 2g range = +/ - 4g range = +/ - 8g 0111 1111 1111 2047 +1.999g +3.998g +7.996g 0111 1111 1110 2046 +1.998g +3.996g +7.992g 8 - bit register data (2s complement) equivalent counts in decimal range = +/ - 2g range = +/ - 4g range = +/ - 8g 0111 1111 127 +1.984g +3.968g +7.936g 0111 1110 126 +1.968g +3.936g +7.872g figure 1. acceleration (g) calculation
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 22 of 63 note: the high pass filter outputs are only available if the wake up function is enabled. xout_hpf_l x - axis high - pass filtered accelerometer output least significant byte r r r r r r r r xoutd3 xoutd2 xoutd1 xoutd0 x x x x bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x00h spi read address: 0x80h xout_hpf_h x - axis high - pass filtered accelerometer output most significant byte r r r r r r r r xoutd11 xoutd10 xoutd9 xoutd8 xoutd7 xoutd6 xoutd5 xoutd4 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x01h spi read address: 0x81h yout_hpf_l y - axis high - pass filtered accelerometer output least significant byte r r r r r r r r youtd3 youtd2 youtd1 youtd0 x x x x bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x02h spi read address: 0x82h yout_hpf_h y - axis high - pass filtered accelerometer output most significant byte r r r r r r r r youtd11 youtd10 youtd9 youtd8 youtd7 youtd6 youtd5 youtd4 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x03h spi read address: 0x83h
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 23 of 63 zout_hpf_l z - axis high - pass filtered accelerometer output least significant byte r r r r r r r r zoutd3 zoutd2 zoutd1 zoutd0 x x x x bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x04h spi read address: 0x84h zout_hpf_h z - axis high - pass filtered accelerometer output most significant byte r r r r r r r r zoutd11 zoutd10 zoutd9 zoutd8 zoutd7 zoutd6 zoutd5 zoutd4 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x05h spi read address: 0x85h xout_l x - axis accelerometer output least significant byte r r r r r r r r xoutd3 xoutd2 xoutd1 xoutd0 x x x x bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x06h spi read address: 0x86h xout_h x - axis accelerometer output most significant byte r r r r r r r r xoutd11 xoutd10 xoutd9 xoutd8 xoutd7 xoutd6 xoutd5 xoutd4 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x07h spi read address: 0x87h
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 24 of 63 yout_l y - axis accelerometer output least significant byte r r r r r r r r youtd3 youtd2 youtd1 youtd0 x x x x bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x08h spi read address: 0x88h yout_h y - axis accelerometer output most significant byte r r r r r r r r youtd11 youtd10 youtd9 youtd8 youtd7 youtd6 youtd5 youtd4 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x09h spi read address: 0x89h zout_l z - axis accelerometer output least significant byte r r r r r r r r zoutd3 zoutd2 zoutd1 zoutd0 x x x x bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x0ah spi read address: 0x8ah zout_h z - axis accelerometer output most significant byte r r r r r r r r zoutd11 zoutd10 zoutd9 zoutd8 zoutd7 zoutd6 zoutd5 zoutd4 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x0bh spi read address: 0x8bh
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 25 of 63 dcst_resp this register can be used to verify proper integrated circuit functionality. it always has a byte value of 0x55h unless the dcst bit in ctrl_reg3 is set. at that point this value is set to 0xaah. the byte value is returned to 0x55h after reading this registe r. r r r r r r r r dcstr7 dcstr6 dcstr5 dcstr4 dcstr3 dcstr2 dcstr1 dcstr0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 01010101 spi write address: 0x0ch spi read address: 0x8ch who_am_i this register can be used for supplier recognition, as it can be factory written to a known byte value. the default value is 0x 06 h. r r r r r r r r wia7 wia6 wia5 wia4 wia3 wia2 wia1 wia0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00000110 spi write address: 0x0fh spi read address: 0x8fh
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 26 of 63 tilt position registers these two registers report previous and current tilt position data that is updated at the user - defined odr frequency and is protected during register read. table 1 0 describes the reported position for each bit value. tilt_pos_cur current tilt position register r r r r r r r r 0 0 le ri do up fd fu reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00100000 spi write address: 0x10h spi read address: 0x90h tilt_pos_pre previous tilt position register r r r r r r r r 0 0 le ri do up fd fu reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00100000 spi write address: 0x11h spi read address: 0x91h bit description le left state (x - ) ri right state (x+) do down state (y - ) up up state (y+) fd face - down state (z - ) fu face - up state (z+) table 1 0 . kxtia tilt position
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 27 of 63 interrupt source registers these two registers report function state changes. this data is updated when a new state change or event occurs and each applications result is latched until the interrupt release register is read. the motion interrupt bit wufs can be configured to repo rt data in an unlatched manner via the interrupt control registers. int_src_reg1 this register reports which axis and direction detected a single or double tap event, per table 1 1 . r r r r r r r r 0 0 tle tri tdo tup tfd tfu bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x15h spi read address: 0x95h bit description tle x negative (x - ) reported tri x positive (x+) reported tdo y negative (y - ) reported tup y positive (y+) reported tfd z negative (z - ) reported tfu z positive (z+) reported table 1 1 . kxtia directional tap tm reporting
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 28 of 63 int_src_reg2 this register reports which function caused an interrupt. reading from the interrupt release register will clear the entire contents of this register. r r r r r r r r 0 0 wmi drdy tdts1 tdts0 wufs tps bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x16h spi read address: 0x96h drdy indicates that new acceleration data is available. this bit is cleared when acceleration data is read or the interrupt release register is read. drdy = 0 C new acceleration data not available drdy = 1 C new acceleration data available tdts1, tdts0 in dicates whether a single or double - tap event was detected per table 1 2 . tdts1 tdts0 event 0 0 no tap 0 1 single tap 1 0 double tap 1 1 dne table 1 2 . directional tap tm event description wufs - wake up, this bit is cleared when acceleration data is read or the interrupt release register is read. 0 = no motion 1 = motion has activated the interrupt tps reflects the status of the tilt position function. tps = 0 C tilt position state has not changed tps = 1 C tilt position state has changed wmi indicates that the buffers sample threshold has been reached when in fifo, filo, or stream mode. not used in trigger mode. wmi = 0 C sample threshold has not been reached wmi = 1 C sample threshold has been reac hed
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 29 of 63 status_reg this register reports the status of the interrupt. r r r r r r r r 0 0 0 int 0 0 0 0 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x18h spi read address: 0x98h int reports the combined interrupt information of all enabled functions. this bit is released to 0 when the interrupt source latch register (1ah) is read. int = 0 C no interrupt event int = 1 C interrupt event has occurred int_rel latched interrupt source information (int_src_reg1 and int_src_reg2), the status register, and t he physical interrupt pin (7) are cleared when reading this register. r r r r r r r r x x x x x x x x bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x1ah spi read address: 0x9ah
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 30 of 63 ctrl_reg1 read/write control register that controls the main feature set. r/w r/w r/w r/w r/w r/w r/w r/w pc1 res drdye gsel1 gsel0 tdte wufe tpe reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00000000 spi write address: 0x1bh spi read address: 0x9bh pc1 controls the operating mode of the kxtia . pc1 = 0 - stand - by mode pc1 = 1 C operating mode res determines the performance mode of the kxtia . note that to change the value of this bit, the pc1 bit must first be set to 0. res = 0 C low current, 8 - bit valid res = 1 - high current, 12 - bit valid drdye enables the reporting of the avail ability of new acceleration data as an interrupt . note that to change the value of this bit, the pc1 bit must first be set to 0. drdye = 0 - new acceleration data not available drdye = 1 - new acceleration data available gsel1, gsel0 selects the acceleration range of the accelerometer outputs per table 1 3 . note that to change the value of this bit, the pc1 bit must first be set to 0. gsel1 gsel0 range 0 0 +/ - 2g 0 1 +/ - 4g 1 0 +/ - 8g 1 1 na table 1 3 . selected acceleration range
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 31 of 63 tdte enables the directional tap tm function that will detect single and double tap events. note that to change the value of this bit, the pc1 bit must first be set to 0. tdte = 0 C disable tdte = 1 - enable wufe enables the wake up (motion detect) function that will detect a general motion event. note that to change the value of this bit, the pc1 bit must first be set to 0. wufe = 0 C disable wufe = 1 - enable tpe enables the tilt position function that will detect changes in device orientation. note that to change the value of this bit, the pc1 bit must first be set to 0. tpe = 0 C disable tpe = 1 - enable ctrl_reg2 read/write control register that primarily controls tilt position state enabling. per t able 1 4 , if a states bit is set to one (1), a transition into the corresponding orientation state will generate an interrupt. if it is set to zero (0), a transition into the corresponding orientation state will not generate an interrupt. note that to pr operly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w otdth 0 lem rim dom upm fdm fum reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00111111 spi write address: 0x1ch spi read address: 0x9ch
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 32 of 63 otdth determines the range of the directional tap tm output data rate (odr). see table 1 6 for additional clarification. otdth = 0 C slower range of directional tap tm odrs are available. srst = 1 C faster range of directional tap tm odrs are available. bit description lem left state rim right state dom down state upm up state fdm face - down state fum face - up state table 1 4 . tilt position state enabling ctrl_reg3 read/write control register that provides more feature set control. note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w srst otpa otpb dcst otdta otdtb owufa owufb reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 01001101 spi write address: 0x1dh spi read address: 0x9dh srst initiates software reset, which performs the ram reboot routine. this bit will remain 1 until the ram reboot routine is finished. srst = 0 C no action srst = 1 C start ram reboot routine otpa, otpb sets the output data rate for the tilt position function per table 1 5 . the default tilt position odr is 12.5hz.
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 33 of 63 otpa otpb output data rate 0 0 1.6hz 0 1 6.3hz 1 0 12.5hz 1 1 50hz table 1 5 . tilt position function output data rate dcst initiates the digital communication self - test function. dcst = 0 C no action dcst = 1 C sets st_resp register to 0xaah and when st_resp is read, sets this bit to 0 and sets st_resp to 0x55h otdta, otdtb sets the output data rate for the directional tap tm function per table 1 6 . the default directional tap tm odr is 400hz. otdth otdta otdtb output data rate 0 0 0 50hz 0 0 1 100hz 0 1 0 200hz 0 1 1 400hz 1 0 0 12.5hz 1 0 1 25hz 1 1 0 800hz 1 1 1 1600hz table 1 6 . directional tap tm function output data rate
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 34 of 63 owufa, owufb sets the output data rate for the general motion detection function and the high - pass filtered outputs per table 1 7 . the default motion wake up odr is 50hz. owufa owufb output data rate 0 0 25hz 0 1 50hz 1 0 100hz 1 1 200hz table 17 . motion wake up function output data rate int_ctrl_reg1 this register controls the settings for the physical interrupt pin (7). note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w 0 0 ien iea iel ieu 0 spi3e reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00010000 spi write address: 0x1eh spi read address: 0x9eh ien enables/disables the physical interrupt pin (7) ien = 0 C physical interrupt pin (7) is disabled ien = 1 C physical interrupt pin (7) is enabled iea sets the polarity of the physical interrupt pin (7) iea = 0 C polarity of the physical interrupt pin (7) is active low iea = 1 C polarity of the physical interrupt pin (7) is active high iel sets the response of the physical interrupt pin (7) iel = 0 C the physical interrupt pin (7) latches until it is cleared by reading int_rel iel = 1 C the physical interrupt pin (7) will transmit one pulse with a period of approximately 0.03 - 0.05ms ieu sets an alternate unlatched r esponse for the physical interrupt pin (7) when the motion interrupt feature (wuf) only is enabled. ieu = 0 C the physical interrupt pin (7) latches or pulses per the iel bit until it is cleared by reading int_rel ieu = 1 C the physical interrupt pin (7) will follow an unlatched response if the motion interrupt feature is enabled
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 35 of 63
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 36 of 63 spi3e sets spi protocol to 3 - wire or 4 - wire spi. spi3e = 0 C 4 - wire spi enabled spi3e = 1 C 3 - wire spi enabled int_ctrl_reg2 this register controls motion detection axis e nabling. per table 1 8 , if an axis bit is set to one (1), a motion on that axis will generate an interrupt. if it is set to zero (0), a motion on that axis will not generate an interrupt. note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w xbw ybw zbw 0 0 0 0 0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 11100000 spi write address: 0x1fh spi read address: 0x9fh bit description xbw x - axis motion ybw y - axis motion zbw z - axis motion table 1 8 . motion detection axis enabling
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 37 of 63 int_ctrl_reg3 this register controls the tap detection direction axis enabling. per table 1 4 , if a directions bit is set to one (1), a single or double tap in that direction will generate an interrupt. if it is set to zero (0), a single or double tap in that direction will not generate an interrupt. note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w 0 tmen tlem trim tdom tupm tfdm tfum reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00111111 spi write address: 0x20h spi read address: 0xa0h bit description tlem x negative (x - ) trim x positive (x+) tdom y negative (y - ) tupm y positive (y+) tfdm z negative (z - ) tfum z positive (z+) table 19 . directional tap tm axis mask tmen enables/disables alternate tap masking scheme tmen = 0 C alternate tap masking scheme disabled tmen = 1 C alternate tap masking scheme enabled
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 38 of 63 data_ctrl_reg read/write control register that configures the acceleration outputs. note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w 0 0 hpfroa hprob 0 osaa osab osac reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00000010 spi write address: 0x21h spi read address: 0xa1h hpfroa, hpfrob sets the roll - off frequency for the first - order high - pass filter in conjunction with the output data rate (owufa, owufb) that is chosen for the hpf acceleration outputs that are used in the motion wake up (wuf) application per table 2 0 . note that this rol l - off frequency is also applied to the x, y and z high - pass filtered outputs. high - pass filter configuration hpfroa hpfrob beta hpf roll - off (hz) 0 0 7/8 odr / 50 0 1 15/16 odr / 100 1 0 31/32 odr / 200 1 1 63/64 odr / 400 table 2 0 . high - pass filter roll - off frequency osaa, osab, osac sets the output data rate (odr) for the low - pass filtered acceleration outputs per table 2 1 . osaa osab osac output data rate lpf roll - off 0 0 0 12.5hz 6.25hz 0 0 1 25hz 12.5hz 0 1 0 50hz 25hz 0 1 1 100hz 50hz 1 0 0 200hz 100hz 1 0 1 400hz 200hz 1 1 0 800hz 400hz 1 1 1 does not exist does not exist table 2 1 . lpf acceleration output data rate (odr)
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 39 of 63 tilt_timer this register is the initial count register for the tilt position state timer (0 to 255 counts). every count is calculated as 1/odr delay period, where the tilt position odr is user - defined per table 1 5 . a new state must be valid as many measurement periods before the change is accepted. note that to properly change the value of thi s register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w tsc7 tsc6 tsc5 tsc4 tsc3 tsc2 tsc1 tsc0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00000000 spi write address: 0x28h spi read address: 0xa8h wuf_timer this register is the initial count register for the motion detection timer (0 to 255 counts). every count is calculated as 1/odr delay period, where the motion wake up odr is user - defined per table 1 7 . a new state must be valid as many measurement periods before the change is accepted. note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w wufc7 wufc6 wufc5 wufc4 wufc3 wufc2 wufc1 wufc0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00000000 spi write address: 0x29h spi read address: 0xa9h
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 40 of 63 tdt_timer this register contains counter information for the detection of a double tap event. when the directional tap tm odr is 400hz or less, every count is calculated as 1/odr delay period. when the directional tap tm odr is 800hz, every count is calculated as 2/ odr delay period. when the directional tap tm odr is 1600hz, every count is calculated as 4/odr delay period. the directional tap tm odr is user - defined per table 1 6 . tdt_timer represents the minimum time separation between the first tap and the second ta p in a double tap event. the kionix recommended default value is 0.3 seconds (0x78h). note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w tdtc7 tdtc6 tdtc5 tdtc4 tdtc3 tdtc2 tdtc1 tdtc0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 01111000 spi write address: 0x2bh spi read address: 0xabh tdt_h_thresh this register represents the 8 - bit jerk high threshold to determine if a tap is detected. though this is an 8 - bit register, the kxtia internally multiplies the register value by two in order to set the high threshold. this multiplication results in a ra nge of 0d to 510d with a resolution of two counts. the performance index (pi) is the jerk signal that is expected to be less than this threshold, but greater than the tdt_l_thresh threshold during single and double tap events. note that to properly chang e the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. the kionix recommended default value is 203 (0xcbh) and the performance index is calculated as: x = x(current) C x(previous) y = y(current) C y(previous) z = z(current) C z(previous) pi = |x| + |y| + |z| equation 1. performance index r/w r/w r/w r/w r/w r/w r/w r/w tth7 tth6 tth5 tth4 tth3 tth2 tth1 tth0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 11001011 spi write address: 0x2ch spi read address: 0xach
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 41 of 63 tdt_l_thresh this register represents the 8 - bit (0d C 255d) jerk low threshold to determine if a tap is detected. the performance index (pi) is the jerk signal that is expected to be greater than this threshold and less than the tdt_h_thresh threshold during single and double tap events. this register also contains the lsb of the tdt_h_thresh threshold. the kionix recommended default value is 26 (0x1ah). note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w tth7 ttl6 ttl5 ttl4 ttl3 ttl2 ttl1 ttl0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00011010 spi write address: 0x2dh spi read address: 0xadh tdt_tap_timer this register contains counter information for the detection of any tap event. when the directional tap tm odr is 400hz or less, every count is calculated as 1/odr delay period. when the directional tap tm odr is 800hz, every count is calculated as 2/odr d elay period. when the directional tap tm odr is 1600hz, every count is calculated as 4/odr delay period. the directional tap tm odr is user - defined per table 1 6 . in order to ensure that only tap events are detected, these time limits are used. a tap even t must be above the performance index threshold (tdt_thresh) for at least the low limit (ftdl0 C ftdl2) and no more than the high limit (ftdh0 C ftdh4). the kionix recommended default value for the high limit is 0.05 seconds and for the low limit is 0.005 seconds (0xa2h). note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w ftdh4 ftdh3 ftdh2 ftdh1 ftdh0 ftdl2 ftdl1 ftdl0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 10100010 spi write address: 0x2eh spi read address: 0xaeh
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 42 of 63 tdt_total_timer this register contains counter information for the detection of a double tap event. when the directional tap tm odr is 400hz or less, every count is calculated as 1/odr delay period. when the directional tap tm odr is 800hz, every count is calculated as 2/odr delay period. when the directional tap tm odr is 1600hz, every count is calculated as 4/odr delay period. the directional tap tm odr is user - defined per table 1 6 . in order to ensure that only tap events are detected, this time limit is used. this register sets the total amount of time that the two taps in a double tap event can be above the pi threshold (tdt_ l_thresh). the kionix recommended default value for tdt_total_timer is 0.09 seconds (0x24h). note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w std7 std6 std5 std4 std3 std2 std1 std0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00100100 spi write address: 0x2fh spi read address: 0xafh tdt_latency_timer this register contains counter information for the detection of a tap event. when the directional tap tm odr is 400hz or less, every count is calculated as 1/odr delay period. when the directional tap tm odr is 800hz, every count is calculated as 2/odr del ay period. when the directional tap tm odr is 1600hz, every count is calculated as 4/odr delay period. the directional tap tm odr is user - defined per table 1 6 . in order to ensure that only tap events are detected, this time limit is used. this register s ets the total amount of time that the tap algorithm will count samples that are above the pi threshold (tdt_l_thresh) during a potential tap event. it is used during both single and double tap events. however, reporting of single taps on the physical int errupt pin (7) will occur at the end of the tdt_window_timer. the kionix recommended default value for tdt_latency_timer is 0.1 seconds (0x28h). note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w tlt7 tlt6 tlt5 tlt4 tlt3 tlt2 tlt1 tlt0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00101000 spi write address: 0x30h spi read address: 0xb0h
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 43 of 63 tdt_window_timer this register contains counter information for the detection of single and double taps. when the directional tap tm odr is 400hz or less, every count is calculated as 1/odr delay period. when the directional tap tm odr is 800hz, every count is calculated a s 2/odr delay period. when the directional tap tm odr is 1600hz, every count is calculated as 4/odr delay period. the directional tap tm odr is user - defined per table 1 6 . it defines the time window for the entire tap event, single or double, to occur. re porting of single taps on the physical interrupt pin (7) will occur at the end of this tap window. the kionix recommended default value for tdt_window_timer is 0.4 seconds (0xa0h). note that to properly change the value of this register, the pc1 bit in c trl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w tws7 tws6 tws5 tws4 tws3 tws2 tws1 tws0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 10100000 spi write address: 0x31h spi read address: 0xb1h buf_ctrl1 read/write control register that controls the buffer sample threshold. r/w r/w r/w r/w r/w r/w r/w r/w - smp_th6 smp_th5 smp_th4 smp_th3 smp_th2 smp_th1 smp_th0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00000000 spi write address: 0x32h spi read address: 0xb2h smp_th[6:0] sample threshold ; determines the number of samples that will trigger a watermark interrupt or will be saved prior to a trigger event. when buf_res=1, the maximum number of samples is 41; when buf_res=0, the maximum number of samples is 84. buffer model sample function bypass none fifo specifies how many buffer sample are needed to trigger a watermark interrupt. stream specifies how many buffer samples are needed to trigger a watermark interrupt. trigger specifies how many buffer samples before the trigger event are retained in the buffer. filo specifies how m any buffer samples are needed to trigger a watermark interrupt. table 2 2 . sample threshold operation by buffer mode
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 44 of 63 buf_ctrl2 read/write control register that controls sample buffer operation. r/w r/w r/w r/w r/w r/w r/w r/w bufe buf_res 0 0 0 0 buf_m1 buf_m0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00000000 spi write address: 0x33h spi read address: 0xb3h bufe controls activation of the sample buffer. bufe = 0 C sample buffer inactive bufe = 1 C sample buffer active buf_res determines the resolution of the acceleration data samples collected by the sample buffer. buf_res = 0 C 8 - bit samples are accumulated in the buffer buf_res = 1 C 12 - bit samples are accumulated in the buffer buf_m1, buf_m0 selects the operating mode of the sample buffer per table 2 3 . buf_m1 buf_m0 mode description 0 0 fifo the buffer collects 84 sets of 8 - bit low resolution values or 41 sets of 12bit high resolution values and then stops collecting data, collecting new data only when the buffer is not full. 0 1 stream the buffer holds the last 84 sets of 8 - bit low resolution values or 41 sets of 12bit high resolut ion values. once the buffer is full, the oldest data is discarded to make room for newer data . 1 0 trigger when a trigger event occurs , the buffer holds the last data set o f smp[6:0] samples before the trigger event and then continues to collect data unt il full. new data is collected only when the buffer is not full. 1 1 filo the buffer holds the last 84 sets of 8 - bit low resolution values or 41 sets of 12bit high resolution values. once the buffer is full, the oldest data is discarded to make room for newer data. r ead ing from the buffer in this mode will return the most recent data first . table 2 3 . selected buffer mode
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 45 of 63 buf_status_reg1 this register reports the status of the sample buffer. r/w r/w r/w r/w r/w r/w r/w r/w smp_lev7 smp_lev6 smp_lev5 smp_lev4 smp_lev3 smp_lev2 smp_lev1 smp_lev0 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x34h spi read address: 0xb4h smp_lev[7:0] sample level ; reports the number of data bytes that have been stored in the sample buffer. when buf_res=1, this count will increase by 6 for each 3 - axis sample in the buffer; when buf_res=0, the count will increase by 3 for each 3 - axis sample. if this register reads 0, no data has been stored in the buffer. buf_status_reg2 this register reports the status of the sample buffer trigger function. r/w r/w r/w r/w r/w r/w r/w r/w buf_trig 0 0 0 0 0 0 0 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x35h spi read address: 0xb5h buf_trig reports the status of the buffers trigger function if this mode has been selected. when using trigger mode, a buffer read should only be performed after a trigger event. buf_clear latched buffer status information and the entire sample buffer are cleared when any data is written to this register. r/w r/w r/w r/w r/w r/w r/w r/w x x x x x x x x bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x36h spi read address: 0xb6h
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 46 of 63 self_test when 0xca is written to this register, the mems self - test function is enabled. electrostatic - actuation of the accelerometer, results in a dc shift of the x, y and z axis outputs. writing 0x00 to this register will return the accelerometer to normal operation. r/w r/w r/w r/w r/w r/w r/w r/w 1 1 0 0 1 0 1 0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00000000 spi write address: 0x3ah spi read address: 0xbah wuf_thresh this register sets the acceleration threshold, wuf threshold that is used to detect a general motion input. wuf_thresh scales with gsel1 - gsel0 in ctrl_reg1, and the kxtia will ship from the factory with this value set to correspond to a change in acceler ation of 0.5g when configured to +/ - 8g. note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w wufth7 wufth6 wufth5 wufth4 wufth3 wufth2 wufth1 wufth0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 00001000 spi write address: 0x5ah spi read address: 0xdah tilt_angle this register sets the tilt angle that is used to detect the transition from face - up/face - down states to screen rotation states. the kxtia ships from the factory with tilt angle set to a low threshold of 26 from horizontal. a different default tilt angle can be requested from the factory. note that the minimum suggested tilt angle is 10. note that to properly change the value of this re gister, the pc1 bit in ctrl_reg1 must first be set to 0. r/w r/w r/w r/w r/w r/w r/w r/w ta7 ta6 ta5 ta4 ta3 ta2 ta1 ta0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0000110 0 spi write address: 0x5ch spi read address: 0xdch
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 47 of 63 hyst_set this register sets the hysteresis that is placed in between the screen rotation states. the kxtia ships from the factory with hyst_set set to +/ - 15 of hysteresis. a different default hysteresis can be requested from the factory. note that whe n writing a new value to this register the current values of res0, res1 and res2 must be preserved. these values are set at the factory and must not change. note that to properly change the value of this register, the pc1 bit in ctrl_reg1 must first be s et to 0. r/w r/w r/w r/w r/w r/w r/w r/w res 2 res 1 res0 hyst4 hyst3 hyst2 hyst1 hyst0 reset value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 --- 101 00 spi write address: 0x6fh spi read address: 0xefh buf_read data in the buffer can be read according to the buf_res and buf_m settings in buf_ctrl2 by executing this command. more samples can be retrieved by continuing to toggle scl after the read command is executed. data should only be read by set (6 bytes for high - resolution samples an d 3 bytes for low - resolution samples) and by using auto - increment. additional samples cannot be written to the buffer while data is being read from the buffer using auto - increment mode. output data is in 2s complement format. r/w r/w r/w r/w r/w r/w r/w r/w x x x x x x x x bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 spi write address: 0x7fh spi read address: 0xffh
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 48 of 63 kxtia embedded applications orientation detection feature the orientation detection feature of the kxtia will report changes in face up, face down, +/ - vertical and +/ - horizontal orientation. this intelligent embedded algorithm considers very important factors that provide accurate orientation detection from low cost tri - axis accelerometers. factors such as: hysteresis, device orientation angle and delay time are described below as these techniques are utilized inside the kxtia . hysteresis a 45 tilt angle threshold seems like a good choice because it is halfway between 0 and 90. however, a problem a rises when the user holds the device near 45. slight vibrations, noise and inherent sensor error will cause the acceleration to go above and below the threshold rapidly and randomly, so the screen will quickly flip back and forth between the 0 and the 9 0 orientations. this problem is avoided in the kxtia by choosing a 30 threshold angle. with a 30 threshold, the screen will not rotate from 0 to 90 until the device is tilted to 60 (30 from 90). to rotate back to 0, the user must tilt back to 30, thus avoiding the screen flipping problem. this e xample essentially applies +/ - 15 of hysteresis in between the four s creen rotation states. table 2 4 shows the acceleration limits implemented for t =30. orientation x acceleration (g) y acceleration (g) 0/360 - 0.5 < a x < 0.5 a y > 0.866 90 a x > 0.866 - 0.5 < a y < 0.5 180 - 0.5 < a x < 0.5 a y < - 0.866 270 a x < - 0.866 - 0.5 < a y < 0.5 table 2 4 . acceleration at the four orientations with +/ - 15 of hysteresis the kxtia allows the user to change the amount of hysteresis in between the four screen rotation states. by simply writing to the hyst_set register, the user can adjust the amo unt of hysteresis up to +/ - 45 . the plot in figure 9 shows the typical amount of hyste resis applied for a given digital count value of hyst_set . ?
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 49 of 63 figure 9 . hyst_set vs hysteresis device orientation angle (aka tilt angle) to ensure that horizontal and vertical device orientation changes are detected, even when it isnt in the ideal vertical orientation C where the angle in figure 10 is 90, the kxtia considers device orientation angle in its algorithm. figure 10 . device orientation angle as the angle in figure 2 is decreased, the maximum gravitational acceleration on the x - axis or y - axis will also decrease. therefore, when the angle becomes small enough, the user will not be able to make angle ? hyst_set vs hysteresis 0 5 10 15 20 25 30 35 40 45 50 0 5 10 15 20 25 30 hyst_set value (counts) hysteresis (+/- degrees) hysteresis
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 50 of 63 the screen orientation change. when the device orientation angle approaches 0 (device is flat on a desk or table), a x = a y = 0g, a z = +1g, and there is no way to determine which way the screen should be oriented, the internal algorithm determines that th e device is in either the face - up or face - down orientation, depending on the sign of the z - axis. the kxtia will only change the screen orientation when the orientation angle is above the factory - defaulted/user - defined threshold set in the tilt_angle regi ster. equation 2 can be used to determine what value to write to the tilt_angle register to set the device orientation angle. tilt_angle (counts) = sin * (32 (counts/g) ) equation 2. tilt angle threshold tilt timer the 8 - bit register, tilt_timer can be used to qualify changes in orientation. the kxtia does this by incrementing a counter with a size that is specified by the value in tilt_timer for each set of acceleration samples to verify that a change to a new ori entation state is maintained. a user defined output data rate (odr) determines the time period for each sample. equation 3 shows how to calculate the tilt_timer register value for a desired delay time. tilt_timer (counts) = delay time (sec) x odr (hz) equation 3. tilt position delay time motion interrupt feature description the motion interrupt feature of the kxtia reports qualified changes in the high - pass filtered acceleration based on the wake up (wuf) threshold. if the high - pass filtered acceleration on any axis is greater than the user - defined wake up threshold (wuf_thresh), the device has transitioned from an inactive state to an active state. when configured in the unlatched mode, the kxtia will report when the motion event finished and the device has returned to an inactive state. equation 4 shows how to calculate the wuf_thresh register value for a desir ed wake up threshold. note that this calculation varies based on the configured g - range of the part. wuf_thresh (counts) = wake up threshold (g) x sensitivity (counts/g) equation 4. wake up threshold
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 51 of 63 a wuf (wuf_timer) 8 - bit raw unsigned value represen ts a counter that permits the user to qualify each active/inactive state change. note that each wuf timer count qualifies 1 (one) user - defined odr period (owuf). equation 5 shows how to calculate the wuf_timer register value for a desired wake up delay t ime. wuf_timer (counts) = wake up delay time (sec) x owuf (hz) equation 5. wake up delay time figure 11 below shows the latched response of the motion detection algorithm with wuf timer = 10 counts. figure 11. latched motion interrupt response figure 12 below shows the unlatched response of the motion detection algorithm with wuf timer = 10 counts. 0g typical motion interrupt example hpf acceleration wuf threshold ex: delay counter = 10 motion 10 inactive wuf timer
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 52 of 63 figure 12. unlatched motion interrupt response 0g typical motion interrupt example hpf acceleration wuf threshold ex: delay counter = 10 motion 10 inactive wuf timer
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 53 of 63 directional tap detection feature description the directional tap detection feature of the kxtia recognizes single and double tap inputs and reports the acceleration axis and direction that each tap occurred. eight performance parameters, as well as a user - selectable o dr are used to configure the kxtia for a desired tap detection response. performance index the directional tap tm detection algorithm uses low and high thresholds to help determine when a tap event has occurred. a tap event is detected when the previously described jerk summation exceeds the low threshold (tdt_l_thresh) for more than the tap detection low limit, but less than the tap detection high limit as contained in tdt_tap_timer. samples that exceed the high limit (tdt_h_thresh) will be ignored. figure 13 shows an example of a single tap event meeting the performance index criteria. figure 13. jerk summation vs threshold tdt_l_thresh : sampled data 3.14 3.15 3.16 3.17 3.18 3.19 3.2 3.21 0 20 40 60 80 100 120 140 160 180 calculated performance index time(sec) jerk (counts) pi
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 54 of 63 single tap detection the latency timer (tdt_latency_timer) sets the time period that a tap event will only be characterized as a single tap. a second tap has to occur outside of the latency timer. if a second tap occurs inside the latency time, it will be ignored as it occurred too quickly. the single tap will be reported at the end of the tdt_window_timer. figure 14 shows a single tap event meeting the pi, latency and window requirements. figure 14. single directional tap tm timing tdt_windo w_timer tdt_latency_timer tdt_l_thresh 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3 3.1 0 20 40 60 80 100 120 140 160 calculated performance index time(sec) jerk (counts) pi
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 55 of 63 double tap detection an event can be characterized as a double tap only if the second tap crosses the performance index (tdt_l_thresh) outside the tdt_timer. this means that the tdt_timer determines the minimum time separation that must exist between the two taps of a double tap event. similar to the single tap, the second tap event must exceed the performance index for the time limit contained in tdt_tap_time r. the double tap will be reported at the end of the second tdt_latency_timer. figure 15 shows a double tap event meeting the pi, latency and window requirements. f igure 15. double directional tap tm timing tdt_window_timer tdt_timer tdt_latency_timer tdt_latency_timer tdt_l_thresh 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 0 50 100 150 200 calculated performance index time(sec) jerk (counts) pi
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 56 of 63 sample buffer feature description the sample buffer feature of the kxtia accumulates and outputs acceleration data based on how it is configured. there are 4 buffer modes available, and samples can be accumulated at either low (8 - bit) or high (12 - bit) resolution. acceleration data is collected at the odr specified by osaa:os ad in the output data control register. each buffer mode accumulates data, reports data, and interacts with status indicators in a slightly different way. fifo mode data accumulation sample collection stops when the buffer is full. data reporting data is reported with the oldest byte of the oldest sample first (x_l or x based on resolution). status indicators a watermark interrupt occurs when the number of samples in the buffer reaches the sample threshold . the watermark interrupt stays active until the buffer contains less than this number of samples. this can be accomplished through clearing the buffer or explicitly reading greater than smpx samples (calculated with equation 6). buf _res =0 : smpx = smp_lev[7:0] / 3 C smp_th[6:0] buf_res =1 : smpx = smp_lev[7:0] / 6 C smp_th[6:0] equation 6. samples above sample threshold stream mode data accumulation sample collection continues when the buffer is full; older data is d iscarded to make room for newer data. data reporting data is reported with the oldest sample first (uses fifo read pointer). status indicators a watermark interrupt occurs when the number of samples in the buffer reaches the sample thresho ld . the watermark interrupt stays active until the buffer contains less than this number of samples. this can be accomplished through clearing the buffer or explicitly reading greater than smpx samples (calculated with equation 1).
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 57 of 63 trigger mode data accumulation when a physical interrupt is caused by one of the digital engines, the trigger event is asserted and smp[6:0] samples prior to the event are retained. sample collection continues until the buffer is full. data reporting data is reported with the oldest sample first (uses fifo read pointer). status indicators when a physical interrupt occurs and there are at least smp[6:0] samples in the buffer, buf_trig in buf_status_reg2 is asserted. filo mode data accumulation sample c ollection continues when the buffer is full; older data is discarded to make room for newer data. data reporting data is reported with the newest byte of the newest sample first (z_h or z based on resolution). status indicators a watermark inter rupt occurs when the number of samples in the buffer reaches the sample threshold . the watermark interrupt stays active until the buffer contains less than this number of samples. this can be accomplished through clearing the buffer or explicit ly reading greater than smpx samples (calculated with equation 1). buffer operation the following diagrams illustrate the operation of the buffer conceptually. actual physical implementation has been abstracted to offer a simplified explanation of how the different buffer modes operate. figure 1 represents a high - resolution 3 - axis samp le within the buffer. figures 2 - 10 represent a 10 - sample version of the buffer (for simplicity), with sample threshold set to 8. regardless of the selected mode, the buffer fills sequentially, one byte at a time. figure 1 6 shows one 6 - byte data sample . note the location of the filo read pointer versus that of the fifo read pointer.
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 58 of 63 index byte 0 x_l < ---- fifo read pointer 1 x_h 2 y_l 3 y_h 4 z_l 5 z_h < ---- filo read pointer buffer write pointer ---- > 6 figure 16 . one buffer sample regardless of the selected mode, the buffer fills sequentially, one sample at a time. note in figure 17 the location of the filo read pointer versus that of the fifo read pointer. the buffer write pointer shows where the next sample wi ll be written to the buffer. index sample 0 data0 1 data1 2 data2 buffer write pointer 4 5 6 7 8 9 figure 17. buffer filling
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 59 of 63 the buffer continues to fill sequentially until the sample threshold is reached. note in figure 18 the location of the filo read pointer versus that of the fifo read pointer. index sample 0 data0 1 data1 2 data2 3 data3 4 data4 5 data5 6 data6 buffer write pointer 8 9 figure 18. buffer approaching sample threshold in fifo, stream, and filo modes, a watermark interrupt is issued when the number of samples in the buffer reaches the sample threshold . in trigger mode, this is the point where the oldest data in the buffer is discarded to make room for newer data. index sample 0 data0 1 data1 2 data2 3 data3 4 data4 5 data5 6 data6 7 data7 buffer write pointer 9 figure 19. buffer at sample threshold
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 60 of 63 in trigger mode, data is accumulated in the buffer sequentially until the sample threshold is reached. once the sample threshold is reached, the oldest samples are discarded when new samples are collected. note in figure 20 how data0 was thrown out to make room for data8. i ndex sample 0 data1 1 data2 2 data3 3 data4 4 data5 5 data6 6 data7 trigger write pointer 8 9 figure 20. additional data prior to trigger event after a trigger event occurs, the buffer no longer discards the oldest samples, and instead begins accumulating samples sequentially until full. the buffer then stops collecting samples, as seen in figure 21. this results in the buffer holding smp_th[6:0] samples prior to the trigger event, and smpx samples after the trigger event. index sample 0 data1 1 data2 2 data3 3 data4 4 data5 5 data6 6 data7 7 data8 8 data9 9 data10 figure 21. additional data after trigger event
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 61 of 63 in fifo, stream, filo, and trigger (after a trigger event has occurred) modes, the buffer continues filling sequentially after the sample threshold is reached. sample accumulation after the buffer is full depends on the selected ope ration mode. fifo and trigger modes stop accumulating samples when the buffer is full, and stream and filo modes begin discarding the oldest data when new samples are accumulated. index sample 0 data0 1 data1 2 data2 3 data3 4 data4 5 data5 6 data6 7 data7 8 data8 9 data9 figure 22. buffer full after the buffer has been filled in filo or stream mode, the oldest samples are discarded when new samples are collected. note in figure 23 how data0 was thrown out to make room for data10. index sample 0 data1 1 data2 2 data3 3 data4 4 data5 5 data6 6 data7 7 data8 8 data9 9 data10 figure 23. buffer full C additional sample accumulation in stream or filo mode
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 62 of 63 in fifo, stream, or trigger mode, reading one sample from the buffer will remove the oldest sample and effectively shift the entire buffer contents up, as seen in figure 24. index sample 0 data1 1 data2 2 data3 3 data4 4 data5 5 data6 6 data7 7 data8 8 data9 buffer write pointer figure 24. fifo read from full buffer in filo mode, reading one sample from the buffer will remove the newest sample and leave the older samples untouched, as seen in figure 25. index sample 0 data0 1 data1 2 data2 3 data3 4 data4 5 data5 6 data6 7 data7 8 data8 buffer write pointer figure 25. filo read from full buffer
2g / 4g / 8g tri - axis digital accelerometer specifications part number: kxtia - 1006 rev. 4 dec - 2012 36 thornwood dr. C ithaca, ny 14850 ? 2011 kionix C all rights reserved tel : 607 - 257 - 1080 C fax: 607 - 257 - 1146 579 - 4177 - 1212201147 www.kionix.com - info@kionix.com page 63 of 63 revision history revision description date 1 initial product release 19 - jul - 2 011 2 updated spi timing diagrams 02 - apr - 2012 3 updated dimension drawing 29 - jun - 2012 4 included wuf description into int_src_reg2 20 - dec - 2012 "kionix" is a registered trademark of kionix, inc. products described herein are protected by patents issued or pending. no license is granted by implication or otherwise under any patent or other rights of kionix. the information contained herein is be lieved to be accurate and reliable but is not guaranteed. kionix does not assume responsibility for its use or distribution. kionix also reserves the right to change product specifications or discontinue t his product at any time without prior notice. t his publication supersedes and replaces all information previously supplied.


▲Up To Search▲   

 
Price & Availability of KXTIA-1006

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X